Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

External Authentication with Separation Model

Featured Replies

I'm a bit confused over a behavior I'm seeing with regards to external authentication. Here's the scenario:

I have several files in a solution, all hosted by FMS 10 on Tiger Server. I set up the GUI file to be authenticated via external authentication from the same server. It works fine. The puzzling part is why does the DATA file, which is set up to only authenticate via FMP log me in with my FMP account (which has different login credentials than the GUI)?

IOW I login to the GUI as "User A" with password "X" and the DATA file opens with the credentials of "User B" with password "Y" without prompting me for those credentials.

Any help on why this behavior occurs is appreciated. Thanks in advance.

-Kent

Check to be sure that there are no auto-entered credentials in the data file. Also check that the data file's credentials are not stored in the KeyChain.

Steven

  • Author

Hi Steven,

I hadn't considered the keychain because I "never" store FM credentials of my client's databases in keychains. Guess I better change that to "almost never", since that's what I did in this case.

Thanks for your help!

-Kent

I converted a large and complex network of FMP solutions to external authentication recently. One of things that helped make de-bugging significantly easier was adding two scripts to every file and displaying them in the script menu: one allows the current user to re-login; and the other opens a custom dialog that displays Get( AccountName ) and Get( PrivilegeSetName ).

The latter would have helped you immediately identify which account and privilege set the file was actually opened with.

Very welcome. Glad it's working correctly now.

The KeyChain catches out people frequently.

Steven

  • Author

... was adding two scripts to every file and displaying them in the script menu: one allows the current user to re-login; and the other opens a custom dialog that displays Get( AccountName ) and Get( PrivilegeSetName ).

Hey Vaughan,

I like the dialog idea. Very nice for quick troubleshooting.

I'm guessing that the re-login script performs a re-login to all the files in the solution, correct? If it's just a re-login to that particular file, why would you do that?

Thanks,

-Kent

Kent, no the re-log-in script only allows the current file to be re-logged into. In this organisation, files can be shared across many solutions.

The re-log-in script's purpose is mainly to allow the developer to testing with externally authenticated accounts, then re-log-in with the developer account to make quick changes without having to close and re-open the file.

  • Author

Got it...that makes sense. I use a relogin script in just about every GUI I build to relogin across all files, but that makes sense to have a relogin script just for each file also, for quick, file specific development.

Thanks!

-Kent

  • 4 weeks later...
  • Newbies

FM credentials of my client's databases in keychains. Guess I better change that to "almost never", since that's what I did in this case.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.