Random User Generator + OpenID Connect Provider Like Lorem Ipsum, but for user accounts and authentication.
PhantAuth was designed to simplify testing for applications using OpenID Connect authentication by making use of random generated users.
end point | address |
---|---|
issuer | https://phantauth.net |
discovery | https://phantauth.net/.well-known/openid-configuration |
credential | value |
---|---|
client_id | test.client |
client_secret | UTBcWwt5 |
The OpenID Connect Provider of PhantAuth supports the flows listed in the OpenID Connect specifications (Hybrid, Implicit, Authorization Code), as well as the Resource Owner Password grant type, specified in the OAuth 2.0 specifications. PhantAuth as an OpenID Connect Provider can be integrated with a variety of web applications, mobil applications, and backend applications. The integration can be either direct, as in the case of the OpenID Connect Provider, or through an authentication integration service, as in the case of Auth0 or Azure Active Directory B2C. To learn more, please go to chapter Integration.
Examples:
- Direct OpenID Connect integration
- Auth0 Social Connections integration
- Azure Active Directory B2C integration
The random user generator of PhantAuth can also be used separately, independent of the OpenID Connect Provider. You can generate an optional number of test users. In the knowledge of their user name, the data of the generated users can be regenerated at any time (OpenID Connect sub claim). The generated users have a unique, operational, disposable email address, a profile picture selected from one of the multiple pools of pictures, and the usual profile data. Custom email addresses and profile pictures may also be added. The random user generator of PhantAuth can be fully customized. Additionally, you can link an external generator to the application. For details,please go to chapter Generator.
Test pages:
- Default Generator Test Page (embedded generator)
- Greek Gods Generator Test Page (embedded generator works from Google Sheet)
- Faker Generator Test Page (external generator using Javascript Faker library)
- Chance Generator Test Page (external generator using Javascript Chance library)
- Casual Generator Test Page (external generator using Javascript Casual library)
- Randomuser Generator Test Page (client side generator using https://randomuser.me)
- uinames Generator Test Page (client side generator using https://uinames.com)
- Mockaroo Generator Test Page (client side generator using https://mockaroo.com)
Every random generated user has a profile page, which contains their profile data in a simple one-page format.
Profile examples:
- Random Profile
- Random Greek God Profile
- Random Faker Profile
- Random Chance Profile
- Random Casual Profile
The use of the random user generator and the direct integration of the OpenID Connect is demonstrated through a set of CodeSandbox samples. The sample applications are run directly from CodeSandbox, so the source code is easy to view, edit, and test.
Examples:
The PhantAuth is extremely versatile and customizable. You can use your own random user service, or generate users from an external .csv file or Google Sheet. You can use a set of Bootstrap themes to tailor the look and feel of the profile, morover, you can fundamentally change the same look and feel by the use of your own HTML templates. To find out more, please go to chapter Tenant.
To customize the application, you need to use one or more so-called tenants. A tenant can be consiered as an independent PhantAuth service. A tenant has its own random user generator endpoints and OpenID Connect endpoints.
The tenants can be organised into so-called domains. Practically, a domain is a DNS zone, which contains the settings of the given tenant(s). The tenants as well as the domain can be configured by the use of DNS TXT records.
In addition to the default tenant, the PhantAuth Domain contains some sample tenants, which are primarily designed to demonstrate customitability, a range of hosting possibilities, and the links to external services. In most cases, using the default tenant is enough.
- PhantAuth Default - default tenant, based on Java Fairy library
- Greek Gods - based on Google Sheet document
- PhantAuth Faker - based on Javascript Faker library, hosted at https://now.sh
- PhantAuth Chance - based on Javascript Chance library, hosted at https://now.sh
- PhantAuth Casual - based on Javascript Casual library, hosted at https://webtask.io
- RANDOM USER - based on https://randomuser.me service
- uinames - based on https://uinames.com service
- Mockaroo - based on https://mockaroo.com service
Anyone can create the domain and the tenants. Sharing the tenants is facilitated by the PhantAuth Shared Domain. A shared domain is connected to the phantauth.cf DNS zone, in which anyone can create tenant configuration notes by the use of the FreeDNS service.
PhantAuth is a free open-source non-profit application. If you find this service useful and can afford, please make a small donation as a contribution to the operation costs (domain registration, service hosting, etc.)