Sigra.OAuth.Smoketest (Sigra v1.20.0)

Copy Markdown View Source

Runtime support for mix sigra.oauth.smoketest.

This module intentionally keeps the host-app ceremony small: load Sigra's runtime config, boot a loopback-only callback endpoint, print the Google authorize URL, wait for the callback, then exchange the code and print the decoded id_token claims.

Summary

Types

exit_code()

@type exit_code() :: 1 | 2 | 3

Functions

run(opts)

@spec run(keyword()) :: :ok | {:error, exit_code(), String.t()}