View Source AshAuthentication.Strategy.Oidc.NonceGenerator (ash_authentication v4.3.5)

An implmentation of AshAuthentication.Secret that generates nonces for OpenID Connect strategies.

Defaults to 16 bytes of random data. You can change this by setting the byte_size option in your DSL:

oidc do
  nonce {AshAuthentication.NonceGenerator, byte_size: 32}
  # ...
end