I have implemented GAM (external authentication) for my SmartDevices project, that uses "Dynamic URL" (in GeneXus).
I have just received a new requirement: - In the default (demo) environment, the App must accept ANY username/password combination and give it the External ID "200" (this number will then be used in the app to retrieve data for a DEMO account).
In my Demo environment, using GamHome, I changed the "external webservice" to always return "1" (user and password ok) and "200" (External Id). When I run the App and try to authenticate with any random username, i receive the message: "External Identification of the user already exists" (something like that).
Is it possible for me to change the Authentication WebService in order to, either:
- Allow multiple Usernames to share the same External Id?
- Replace the username provided by the LoginExternal method (the device) in order to ensure a unique "ID - Username"?
- Cancel the Login procedure and create a new one, automatic, with a fixed user?
Any other suggestions?
(I'd like to change services only to avoid changing the Apps, if possible).
(This is a requirement for our Demo environment only - in a Live environment, each user will have its own Id and will be properly authenticated).