Skip to content

curityio/mobile-deployments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Deployments

Automated deployments of the Curity Identity Server to provide initial infrastructure for mobile testing.
This repository provides a consistent developer experience for anyone who wants to run mobile examples.

Example Applications

The following example applications can use this repository:

Deployment Interface

Each mobile example calls the following script with parameters to start and stop the Curity Identity Server:

./start.sh
./stop.sh

Configuration

The files in the resources folder provide the base configuration.
Each code example can apply additional configuration based on its requirements:

  • Examples can use default configuration files stored in this project, e.g. in the appauth folder.
  • Examples can override configuration by copying in their own configuration files, e.g to the haapi folder.

Administration and Users

After deploying the Curity Identity Server, sign in to the Admin UI using the following details:

  • URL: https://localhost:6749/admin
  • User: admin
  • Password: Password1

If you use ngrok and you have a suitable license file you can also sign into the DevOps Dashboard and create test user accounts:

  • URL: https://localhost:6749/admin/dashboard
  • User: admin

You may also need to trust the localhost certificate at resources/ssl-cert.pem for the dashboard to successfully make fetch requests. For example, on macOS:

  • Import the certificate into Keychain Access under System / Certificates.
  • The configure Always Trust for the curityserver certificate.

User Data

You can query user data like accounts and passkeys by connecting to the PostgreSQL database:

POSTGRES_CONTAINER=$(docker ps | grep postgres | awk '{print $1}')
docker exec -it $POSTGRES_CONTAINER bash

Then connect to the database:

export PGPASSWORD=Password1 && psql -p 5432 -d idsvr -U postgres

Then query data like user account details or registered passkey public keys:

select * from accounts;
select * from devices;

More Information

Please visit curity.io for more information about the Curity Identity Server.

About

Resources for automating the setup of Curity mobile code examples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •  

Languages