-
Currently, the following migration is generated during setup:
```
create table(:guardian_tokens, primary_key: false) do
add(:jti, :string, primary_key: true)
add(:aud, :string, primary_key: …
-
I am unable to install this on a new project I am using Phoenix 1.4.0-rc. I get the error:
```
Failed to use "phoenix" (version 1.4.0-rc.1) because
guardian (versions 1.1.0 and 1.1.1) requires ~…
-
is there any way to implement this using api ? if i wanna use it to authenticate token from mobile device ?
-
This is not a bug but rather an idea for an improvement. If the Ueberauth config isn't set for your current environment, then during compilation a cryptic build error arises:
```
Compiling 24 file…
-
I have two different domains for one app instance. One locale - one domain. So I have 2 registered Github apps. How can I configure Ueberauth for using keys depends on a domain name?
-
The release of [Elixir v1.8.0](https://github.com/elixir-lang/elixir/releases/tag/v1.8.0) comes with a few hard deprecations. I noticed that one in particular is being used in this library.
> [Syste…
-
While using JWT, there are situations where the same token is valid for different audiences:
```json
{
"iss": "https://login.example.com/",
"sub": "custom|user_id",
"aud": [
"example…
-
See https://github.com/elixir-ecto/ecto/issues/2763
```
== Compilation error in file lib/mix/tasks/guardian_db.gen.migration.ex ==
** (CompileError) lib/mix/tasks/guardian_db.gen.migration.ex:21:…
-
We can set token type in 2 ways
```
{:ok, token, claims} = App.Guardian.encode_and_sign(resource, %{}, token_type: "refresh")
```
and
```
{:ok, token, claims} = App.Guardian.encode_and_sign(reso…
-
Steps to reproduce:
Add hex dependency of `guardian_db` plus configurations and when project will be compiled, you will get this error.
Please release a new version. This will be fixed as we already…